home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
mount.arc
/
MOUNT.DOC
next >
Wrap
Text File
|
1986-02-21
|
4KB
|
97 lines
<<< NOTE MOUNTDOC - 103 lines, 0 append(s) >>>
MOUNT (4) MS-DOS PROGRAMMER'S MANUAL MOUNT (4)
NAME
MOUNT - Virtual memory disk creator
SYNOPSIS
MOUNT drive: [-m=nnn] [-s=nnn] [-d=nnn] [-c] [/c ...]
DESCRIPTION
Mount initializes a virtual disk in memory and tells the
ram disk driver where the disk is located.
The -m option tells mount how much memory to allocated to
the disk. The default size is 64K.
The -s option tells mount what sector size to use. The
default size is 128 bytes.
The -d option tells mount the number of root directory
entries desired. The default is 64.
The -c option displays an extended copyright notice.
The /c option tells mount to execute the remainder of the
command line after the disk has been allocated. Mount then
dismounts the disk automatically. This is useful for
running programs such as compilers where temporary files
can be redirected to the memory disk.
If /c is not specified, the default shell is executed.
MOUNT with no parameters prints a usage guide.
SEE ALSO
RMVRAMDK (4)
DIAGNOSTICS
Unrecognized parameter on command line : %s - ignored
Drive %c: is not a mountable device - this disk is not
associated with a RMVRAMDK device driver.
Error performing ioctl query. Returning to DOS
Error performing ioctl output: Returning to DOS
Drive %c: is already mounted - The device driver already
has a disk.
Do you wish to dismount virtual disk %c: ? - Upon exit,
this gives the option of returning to the shell without
losing the disk
The requested disk size %uK is outside of the range %uK -
%uK ... The requested sector size %u bytes is outside of
the range %u - %u ... The requested number of root entries
%u is outside of the range %u - %u ... - These three
messages are used to indicate invalid command line
arguments. They are followed by the message :
Using the default size
Number of root directory entries has been updated to %u
.... Disk overhead is greater than the disk size ... -
These messages tell of modification made by the program
when the disk parameters were being calculated.
Insufficient memory to create virtual disk
Insufficient memory for buffer: Returning to DOS
Not enough memory to allocate device stack
Not enough memory to create shell or Could not find shell
program
BUGS
Logically, this program should be dismounted using a
program, typically UNMOUNT. However, the best way to
protect an area of memory in MS-DOS is to shell a command
processor after the area. Terminate and remain resident
makes freeing the area a major chore which can destroy
DOS's memory management.
One must use EXIT to exit from the shell back to mount.
COPYRIGHT
Copyright (C) Alex E. Wielhouwer, 1985, 1986
This program set is distributed free. No charge may be
made for these programs. All other rights reserved. (
e.g., Modification rights).
If you like this program, a contribution of $25 would be
appreciated. In return for this contribution, I will send
you a diskette containing the source code for the latest
version of the program (provided you give me a return
address!).
The address is:
Alex E. Wielhouwer,
22-249 Cedarbrae Dr.,
Waterloo, Ontario, Canada.
N2L 4S8
*** CREATED 02/19/86 09:22:45 BY PROJECT.MANAGER ***